package com.ruoyi.system.domain.deviceAlarm;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

@Data
public class HrAlarm {
    private String timeStamp;
    private int hr;

    public HrAlarm(JSONObject data){
        timeStamp=(String)data.get("timeStamp");
        hr=(Integer)data.get("hr");
    }
}